<template>
  <div id="app">
    <h1>Vue中插槽的实际应用</h1>
    <my-button btnStyle="btn-warning">
      测试
    </my-button>

    <!-- <h1>我是h1的内容</h1>
    <h1 h1Text="我是h1内容"></h1> -->
  </div>
</template>

<script>
import Button from './Button';

export default {
  components: {
    MyButton: Button,
  },
};
</script>

<style>
#app {
  text-align: center;
}
</style>
